package com.homework05.entity;

public class User {
    private int userId;
    private String name;
    private Role role;
    private Game[] games;
    public User(int userId,String name,Role role,Game[] games) {
        this.userId = userId;
        this.name = name;
        this.role = role;
        this.games = games;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Game[] getGames() {
        return games;
    }

    public void setGames(Game[] games) {
        this.games = games;
    }
}